package com.zking.ssm.NH.service;


import com.zking.ssm.NH.model.ThotelFacility;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IThotelFacilityService {

    int deleteByPrimaryKey(ThotelFacility id);

    int insert(ThotelFacility record);

    int insertSelective(ThotelFacility record);

    ThotelFacility selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ThotelFacility record);

    int updateByPrimaryKey(ThotelFacility record);

    @Transactional(readOnly = true)
    List<ThotelFacility> lista(ThotelFacility record, PageBean pageBean);

    int deletepiliang(ThotelFacility record);
}
